package com.sykj.bsc.zn.service;

import java.util.List;
import java.util.Map;

import com.sykj.bsc.rwl.po.SysMenu;
import com.sykj.bsc.zn.bean.Bis_beauty_record;
import com.sykj.bsc.zn.bean.Bis_business_order;
import com.sykj.bsc.zn.bean.Bis_cash_record;
import com.sykj.bsc.zn.bean.Bis_shop;
import com.sykj.bsc.zn.bean.Bis_shop_user;
import com.sykj.bsc.zn.bean.FinanceUser;

public interface znService {
	//商家
	public List<Map> finduser_shop(Bis_shop_user shop_user);
	//是验证手机号是否重复
	public Bis_shop_user judgemobile(String mobile);
	public List<Bis_shop>findshop2();
	public void insertshopuser(Bis_shop_user shopuser);
	public void deleteshopuser1(String shop_user_id);
	public Bis_shop_user toupdateshop(String shop_user_id);
	public void updateshopuser(Bis_shop_user shopuser);

	public List<Map> findshop1(Bis_shop shop);
	public List<Map> findshopuserBytype(String user_type);
	public void insertshop(Bis_shop shop);
	public void deleteshop(int shop_id);
	public Bis_shop toupdateshop2(int shop_id);
	public void updateshop (Bis_shop shop);
	//修改密码
	public void updatepassword(Bis_shop_user shopuser);
	
	
	//财务	
	public List<Map> findcashrecord(Bis_cash_record cashrecord);
	public void deletecash(String record_id);	
	public List<Map> findbeautyrecord(Bis_beauty_record beaurtyrecord);
	public Bis_business_order findbusinessorder();
	public List<Map>  findshopandorder(int shop_id);
	public  List<Map> findproject();
	public List<Map> findorderanduser(Bis_business_order order);
	public List<Map> findshopuserpostbusiness(Map map);

	public List<Map> findshop(Bis_shop shop);
	
	// 导出exccel
	public List<Map<String, String>>cashexcel(Bis_cash_record cash);
	public List<Map<String, String>>beautryrecordexcel(Bis_beauty_record beaurtyrecord);
	public List<Map<String, String>>shopexcel(Bis_shop shop);
	public List<Map<String, String>>orderanduserexcel(Bis_business_order order);

	
	
	
	/**
	 * 创建人：池磊
	 * 用途：找店铺
	 * @return
	 */
	public List<Bis_shop> selectBis_shop();
	
	/**
	 * 创建人：池磊
	 * 用途：根据id找店铺
	 * @return
	 */
	public Bis_shop getBis_shopByid(String shop_id);
	

	//前台首页
	public List<Map> findQt(String shop_id);
	//查询职位
	public String findPost_name(String post_code);
	
	public List<SysMenu> findUserMenu();
	
	//店面
	public Map finddianmian(String shop_id); 
	
	
	
	
	//张诺前台财务
		
	    //查询前台财务总况
		public List<Map> findbisinessordel(Bis_business_order businessorder);
		//查询财务完成率
		public Bis_business_order findgetorder(Map map);

		
		//查询员工
				public  List<FinanceUser> listfinanceuser(Map map);
				//查询员工手工费
				public FinanceUser getfinanceuser(Map map);
}
